package com.company.cloud.product.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class BrandInfoSaveParam extends BaseParam {

    @ApiModelProperty(value = "品牌名称", required = true)
    @NotEmpty(message = "品牌名称不能为空")
    private String name;

    @ApiModelProperty(value = "品牌别名")
    private String aliasName;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "品牌Logo")
    private String logo;

    @ApiModelProperty(value = "品牌官网地址")
    private String url;

    @ApiModelProperty(value = "品牌说明")
    private String introduction;

    @ApiModelProperty(value = "排序", required = true)
    @NotNull(message = "排序不能为空")
    private Integer orders;

}
